package cn.tyz.kotlin.glide;

import android.content.Context;
import android.widget.ImageView;

import com.bumptech.glide.Glide;

/**
 * @author : tianyingzhong
 * @ClassName: GlideUtils
 * @Description:
 * @time 2017/8/23 20:05
 */
public class GlideUtils {
    public static void loadUrlImage(Context context, String url, ImageView imageView){
        Glide.with(context).asBitmap()
                .load(url)
                .into(new CircularBitmapImageViewTarget(context,imageView));
    }
}